VistA Patch Display                                                   Page: 1
=============================================================================
Run Date: NOV 16, 2017                      Designation: PSO*7*457  TEST v7
Package : OUTPATIENT PHARMACY               Priority   : MANDATORY
Version : 7                                 Status     : UNDER DEVELOPMENT
=============================================================================

Associated patches: (v)PSO*7*408   <<= must be installed BEFORE `PSO*7*457'
                    (v)PSO*7*458   <<= must be installed BEFORE `PSO*7*457'
                    (v)PSO*7*486   <<= must be installed BEFORE `PSO*7*457'
                    (v)PSO*7*473   <<= must be installed BEFORE `PSO*7*457'
                    (v)PSO*7*422   <<= must be installed BEFORE `PSO*7*457'
                    (v)PSO*7*446   <<= must be installed BEFORE `PSO*7*457'
                    

Subject:  MENTAL HEALTH NCC PROJECT 5.01

Category:  ROUTINE
           ENHANCEMENT
           DATA DICTIONARY

Description:
===========
 
This patch will add enhancements to the Inpatient Order Entry routines for
the National Clozapine T4 project.  Below is a list of all the applications
involved in this project along with their patch numbers:
 
   APPLICATION/VERSION                                   PATCH
   ---------------------------------------------------------------
   MENTAL HEALTH (MH) V. 5.01                          YS*5.01*122
   OUTPATIENT PHARMACY (OP) V. 7.0                     PSO*7*457 
   INPATIENT MEDICATIONS (IP) V. 5.0                   PSJ*5*327
   ORDER ENTRY/RESULTS REPORTING (OR) V. 3.0           OR*3*427
 
The patches (YS*5.01*122, PSO*7*457, PSJ*5*327, and OR*3*427) are
being released in the Kernel Installation and Distribution System
(KIDS) multi-build distribution MENTAL HEALTH NCC PROJECT 5.01.
 
The purpose of this software package is to maintain compliance with 
Legislative and federal mandates, as well as to add Clozapine
Order Checking to the Inpatient Pharmacy application. In
addition, this package adds real-time updating functionality of the
data sent to the National Clozapine Server.
 
This specific patch contains the following functionality:
---------------------------------------------------------
Modifications to ^PSOCLO1 routine.
 
1. Added new Override reasons, 8 ;;REGISTER NON-DUTY HRS/WE (MAX 4D)
   9 ;;PRESCRIBER APPROVED 4 DAY SUPPLY 10 ;;MILD NEUTROPENIA
   PRESCRIBER APPROVED
 
2. Modified the CHECK module to look at the ANC values instead of WBC
   as well as add more selections for the values of the PSOYS variable
   that displays the override reasons.
 
3. Added new Warning for critically low ANC readings "ANC levels are
   Critically low. Do you want to Cancel the order"
 
4. Added capability to produce a list of only active approving members
   with the "PSOLOCKCLOZ" security key to choose from for the second
   approving member for the Clozapine Override process.
 
5. Created a view alert to be sent to the provider, member 
   approving the override, and the secondary approving member selected.
   This alert is available in CPRS. When the user double clicks on the
   alert, it will be removed from the list. 
 
6. Inpatient Medications PSJOE was modified to detect the drug chosen.
   When a clozapine drug is chosen, the code calls our new PSJCLOZ
   routine, then uses the existing but modified outpatient medication
   routine PSOCLO1. This means both outpatient and inpatient clozapine
   orders go through the same order checks and override procedure. The
   divergence occurs when recording the override. When an outpatient is
   detected "CLOZAPINE PRESCRIPTION OVERRIDES" file (#52.52) is updated.
   And when an inpatient is detected "CLOZAPINE MEDICATION OVERRIDES"
   file (#53.8) is updated.
 
Patch Components
================
Files & Fields Associated:
 
File Name (Number)      	   Field Name (Number)         New/Modified/Deleted
------------------      	   -------------------         --------------------
CLOZAPINE PRESCRIPTION OVERRIDES   REASON FOR OVERRIDE (#4)	MODIFIED
(#52.52)   	        	   SECOND PHARMACIST (#6)	NEW
CLOZAPINE OVERRIDE REASONS  	   OVERRIDE REASON (#.01)	NEW
(#52.54)
 
Forms Associated:
 
Form Name             File #       New/Modified/Deleted
---------             ------       --------------------
N/A
 
Mail Groups Associated:
 
Mail Group Name          New/Modified/Deleted
---------------          --------------------
N/A
 
Options Associated:
 
Option Name                   Type           New/Modified/Deleted
-----------                   ----           --------------------
PSOL MANAGER                  Menu               MODIFIED
 
Protocols Associated:
 
Protocol Name                     New/Modified/Deleted
-------------                     --------------------
N/A
 
Security Keys Associated:
 
Security Key Name                 New/Modified/Deleted
----------------------            --------------------
N/A
 
Templates Associated:
 
Template Name      Type      File Name (Number)  New/Modified/Deleted
-------------      ----      ------------------  --------------------
N/A
 
Additional Information:
 
New Service Requests (NSRs)
----------------------------
Request Name: National Clozapine Coordination Project
  Request ID: 20100703
 
Patient Safety Issues (PSIs)
-----------------------------
N/A
 
Remedy Ticket(s) & Overview
---------------------------
N/A
 
Test Sites:
----------
BATTLE CREEK
VA Medical Center 5500 Armstrong Rd, Battle Creek, MI 49037
BOSTON
Jamaica Plain Division 150 S. Huntington Avenue Boston, MA 02130


 
Documentation Retrieval Instructions
------------------------------------
Updated documentation describing the new functionality introduced by this
patch is available.
 
The preferred method is to SFTP the files from
ftp://DNS.DNS      .DNS. This transmits the files from the first
available SFTP server. Sites may also elect to retrieve software directly
from a specific server as follows:

 Hines          DNS.DNS     .URL          DNS://DNS.DNS     .URL       >
 Salt Lake City DNS.URL            <DNS://DNS.URL       >
 
The documentation will be in the form of Adobe Acrobat files.
  
Documentation can also be found on the VA Software Documentation Library 
at: http://DNS.url/
--------------------------------------------------------------------------
Title                                File Name                  FTP Mode
--------------------------------------------------------------------------
MENTAL HEALTH NCC PROJECT 5.01     MH_NCC_PROJECT_5_01_T7_3_0.KID (ASCII)
 
MENTAL HEALTH NCC PROJECT 5.01     MH NCC USER GUIDE_r0717.PDF (binary)
User Manual - Manager -
 Outpatient Pharmacy V.7.0         pso_7_man_um_r0717.PDF      (binary)
User Manual - Pharmacist -
 Outpatient Pharmacy V.7.0         pso_7_phar_um_r0717.PDF     (binary)
Deploy Install BO RB Guide
                  MH_NCC_Proj_5_01_OR_PSJ_PSO_YS_ig_r0717.PDF  (binary)
 
Patch Installation:
 
Pre/Post Installation Overview
------------------------------
N/A
 
Installation Instructions
-------------------------
This patch should take up to 20 minutes to install.
DO NOT QUEUE the installation of this patch.
 
To avoid disruptions, these patches should be installed during non-peak
hours when there is minimal activity on the system.
 
Pre-Installation Instructions
-----------------------------
 
1.  OBTAIN PATCHES
    --------------
    Obtain the host file MH_NCC_PROJECT_5_01_T7_3_0.KID, which contains the
    following patches:
 
        YS*5.01*122
        PSO*7*457
        PSJ*5*327
        OR*3*427
 
     Sites can retrieve VistA software from the following SFTP addresses.
     The preferred method is to SFTP the files from:
 
                    DNS.DNS      .DNS
 
     This will transmit the files from the first available SFTP server.
     Sites may also elect to retrieve software directly from a specific
     server as follows:

       Hines                   DNS.DNS     .URL       
       Salt Lake City          DNS.URL       
 
     The MH_NCC_PROJECT_5_01_T7_3_0.KID host file is located in the
     anonymous.software directory. Use ASCII Mode when downloading the
     file.
 
2.  START UP KIDS
    -------------
    Start up the Kernel Installation and Distribution System Menu option
    [XPD MAIN]:
 
         Edits and Distribution ...
         Utilities ...
         Installation ...
 
    Select Kernel Installation & Distribution System Option: INStallation
                                                             ---
         Load a Distribution
         Print Transport Global
         Compare Transport Global to Current System
         Verify Checksums in Transport Global
         Install Package(s)
         Restart Install of Package(s)
         Unload a Distribution
         Backup a Transport Global
 
    Select Installation Option:
 
3.  LOAD TRANSPORT GLOBAL FOR MULTI-BUILD
    -------------------------------------
    From the Installation menu, select the Load a Distribution option.
 
    When prompted for "Enter a Host File:", enter the full directory path
    where you saved the host file MH_NCC_PROJECT_5_01_T7_3_0.KID (e.g.,
    SYS$SYSDEVICE:[ANONYMOUS] MH_NCC_PROJECT_5_01_T7_3_0.KID)
 
    When prompted for "OK to continue with Load? NO//", enter "YES."
 
    The following will display:
 
      Loading Distribution...
 
        MENTAL HEALTH NCC PROJECT 5.01
        YS*5.01*122
        PSO*7*457
        PSJ*5*327
        OR*3*427
      Use INSTALL NAME: MENTAL HEALTH NCC PROJECT 5.01 to install this
      Distribution.
 
4.  RUN OPTIONAL INSTALLATION OPTIONS FOR MULTI-BUILD
    -------------------------------------------------
    From the Installation menu, you may select to use the following
    options (when prompted for the INSTALL NAME, enter
    YS*5.01*122):
 
    a.  Backup a Transport Global - This option will create a backup
        message of any routines exported with this patch.  It will not
        backup any other changes such as DD's or templates.
    b.  Compare Transport Global to Current System - This option will
        allow you to view all changes that will be made when this patch
        is installed.  It compares all components of this patch
        (routines, DD's, templates, etc.).
    c.  Verify Checksums in Transport Global - This option will allow
        you to ensure the integrity of the routines that are in the
        transport global.
 
5.  INSTALL MULTI-BUILD
    -------------------
    This is the step to start the installation of this KIDS patch.  This
    will need to be run for the MENTAL HEALTH NCC PROJECT 5.01.
 
    a. Choose the Install Package(s) option to start the patch install.
    b. When prompted for the "Select INSTALL NAME:", enter YS*5.01*122
 
    This Distribution was loaded on Mar 10, 2016@13:46:45 with header of
    MENTAL HEALTH NCC PROJECT 5.01  ;Created on Mar 09, 2016@08:27:27
    It consisted of the following Install(s):
    YS*5.01*122    PSO*7.0*457    PSJ*5.0*327     OR*3.0*427
    Checking Install for Package YS*5.01*122
 
    Install Questions for YS*5.01*122

Incoming Files:


603.03    CLOZAPINE PARAMETERS  (Partial Definition)
Note:  You already have the 'CLOZAPINE PARAMETERS' File.
 
Want KIDS to Rebuild Menu Trees Upon Completion of Install? YES// 
 
Checking Install for Package PSO*7.0*457
 
Install Questions for PSO*7.0*457
 
  a. When prompted "Want KIDS to Rebuild Menu Trees Upon Completion of
     Install? YES//", enter YES unless your system does this in a nightly
     TaskMan process.
  b. When prompted "Want KIDS to INHIBIT LOGONs during the install?
     YES//", enter NO.
  c. When prompted " Want to DISABLE Scheduled Options, Menu Options,
     and Protocols? NO//", enter NO.
  d. When prompted "Device: HOME//", respond with the correct device 
     but do not queue this install.
 
Incoming Files:
 
52.52     CLOZAPINE PRESCRIPTION OVERRIDES  (Partial Definition)
Note:  You already have the 'CLOZAPINE PRESCRIPTION OVERRIDES' File.
 
52.54     CLOZAPINE OVERRIDE REASONS  (including data)
Note:  You already have the 'CLOZAPINE OVERRIDE REASONS' File.
Data will NOT be added.
 
Want KIDS to Rebuild Menu Trees Upon Completion of Install? YES// 
 
Checking Install for Package PSJ*5.0*327
  
Install Questions for PSJ*5.0*327
 
  a. When prompted "Want KIDS to Rebuild Menu Trees Upon Completion of
     Install? YES//", enter YES unless your system does this in a nightly
     TaskMan process.
  c. When prompted "Want KIDS to INHIBIT LOGONs during the install?
     YES//", enter NO.
  d. When prompted " Want to DISABLE Scheduled Options, Menu Options,
     and Protocols? NO//", enter NO.
  e. When prompted "Device: HOME//", respond with the correct device 
     but do not queue this install.
 
Incoming Files:
 
53.8      CLOZAPINE MEDICATION OVERRIDES
Note:  You already have the 'CLOZAPINE MEDICATION OVERRIDES' File.
 
55        PHARMACY PATIENT  (Partial Definition)
Note:  You already have the 'PHARMACY PATIENT' File.
 
Want KIDS to Rebuild Menu Trees Upon Completion of Install? YES// 
 
Checking Install for Package OR*3.0*427
 
Install Questions for OR*3.0*427
 
Want KIDS to INHIBIT LOGONs during the install? NO// 
Want to DISABLE Scheduled Options, Menu Options, and Protocols? NO// 
 
Enter the Device you want to print the Install messages.
You can queue the install by enter a 'Q' at the device prompt.
Enter a '^' to abort the install.
 
DEVICE: HOME//   HOME  (CRT)
--------------------------------------------------------------------------------
 
 Install Started for YS*5.01*122 : 
               Jan 30, 2017@12:57:19
 
Build Distribution Date: Jan 30, 2017
 
 Installing Routines:
               Jan 30, 2017@12:57:19
 
Running Pre-Install Routine: BKGRD^YSCLTEST
 
 Installing PACKAGE COMPONENTS: 
 
 Installing OPTION
               Jan 30, 2017@12:57:20
 
 Running Post-Install Routine: START^YSCL122P
 
 Updating Routine file...
 
 Updating KIDS files...
 
 YS*5.01*122 Installed. 
               Jan 30, 2017@12:57:27
 
 Install Started for PSO*7.0*457 : 
               Jan 30, 2017@12:57:27
 
Build Distribution Date: Jan 30, 2017
 
 Installing Routines:
               Jan 30, 2017@12:57:28
 
 Installing Data Dictionaries: 
               Jan 30, 2017@12:57:28
 
 Installing Data: 
               Jan 30, 2017@12:57:28
 
 Installing PACKAGE COMPONENTS: 
 
 Installing OPTION
               Jan 30, 2017@12:57:28
 
 Updating Routine file...
 
 Updating KIDS files...
 
 PSO*7.0*457 Installed. 
               Jan 30, 2017@12:57:28
 
 Install Started for PSJ*5.0*327 : 
               Jan 30, 2017@12:57:28
 
Build Distribution Date: Jan 30, 2017
 
 Installing Routines:
               Jan 30, 2017@12:57:28
 
 Installing Data Dictionaries: .
               Jan 30, 2017@12:57:28
 
 Installing PACKAGE COMPONENTS: 
 
 Installing OPTION
OPTION  PSJU INQMGR  is Duplicated,
 only ien #2333 was updated.
               Jan 30, 2017@12:57:29
 
 Updating Routine file...
 
 The following Routines were created during this install:
     PSSJXR
     PSSJXR1
     PSSJXR10
     PSSJXR11
     PSSJXR12
     PSSJXR13
     PSSJXR14
     PSSJXR15
     PSSJXR16
     PSSJXR17
     PSSJXR18
     PSSJXR19
     PSSJXR2
     PSSJXR20
     PSSJXR21
     PSSJXR22
     PSSJXR23
     PSSJXR24
     PSSJXR25
     PSSJXR26
     PSSJXR27
     PSSJXR28
     PSSJXR29
     PSSJXR3
     PSSJXR30
     PSSJXR31
     PSSJXR32
     PSSJXR33
     PSSJXR34
     PSSJXR4
     PSSJXR5
     PSSJXR6
     PSSJXR7
     PSSJXR8
     PSSJXR9
 
 Updating KIDS files...
 
 PSJ*5.0*327 Installed. 
               Jan 30, 2017@12:57:29
 
 Install Started for OR*3.0*427 : 
               Jan 30, 2017@12:57:29
 
Build Distribution Date: Jan 30, 2017
 
 Installing Routines:
               Jan 30, 2017@12:57:29
 
 Running Post-Install Routine: ^ORY427ES .
 
Order Check Expert System Rule Transporter
 Created: JAN 18,2017 at 10:02  at  DNS.URL
 Current Date: JAN 30,2017 at 12:57  at  DNS.URL
 
Loading Data  . . . . . . . .
  Installing '863.8  OCX MDD PARAMETER' records...  .
 
------------Inconsistent word Data---------------------------------
         OCX MDD PARAMETER: COMPARISON VALUE [172]
             DESCRIPTION field [1] Line #1
                 (L) DNS.URL:  
 . . . . . . . . . . . . . . . . . . .
 
------------Inconsistent word Data---------------------------------
         OCX MDD PARAMETER: PRIMARY DATA FIELD [171]
             DESCRIPTION field [1] Line #1
                 (L) NDNS.URL:  
 . . . .
  Installing '864.1  OCX MDD DATATYPE' records...  . . . .
  Installing '863.7  OCX MDD PUBLIC FUNCTION' records...  . . . . . .
  Installing '863.9  OCX MDD CONDITION/FUNCTION' records...  . . . . . .
  Installing '863.4  OCX MDD ATTRIBUTE' records...  . . . . . . . . . .
 .
  Installing '863.2  OCX MDD SUBJECT' records...  .
  Installing '863.3  OCX MDD LINK' records...  . . . . . . . . . . . .
  Installing '860.9  ORDER CHECK NATIONAL TERM' records...  . . . . . .
 . . . . . . . . .
  Installing '860.8  ORDER CHECK COMPILER FUNCTIONS' records...  . . . .
 . . . . .
 
------------Inconsistent word Data---------------------------------
         ORDER CHECK COMPILER FUNCTIONS: LOCAL TERM LOOKUP [38]
             DESCRIPTION field [1] Line #1
                 (L) DNS.URL:  
 . . .
  Installing '860.6  ORDER CHECK DATA CONTEXT' records...  . . . .
  Installing '860.5  ORDER CHECK DATA SOURCE' records...  . . . . .
  Installing '860.4  ORDER CHECK DATA FIELD' records...  . . . . . . . .
 .
  Installing '860.3  ORDER CHECK ELEMENT' records...  . . . . .
  Installing '860.2  ORDER CHECK RULE' records...  .
 
------------Inconsistent Data--------------------------------------
         ORDER CHECK RULE: CLOZAPINE [57]
         RELATION ACTIONS: 1 [1]
         RELATION EXPRESSION field [1]
         (R) DNS.URL: CLOZAPINE AND (NO WBC W/IN 7 DAYS OR
             NO ANC W/IN 7 DAYS)
         (L) DNS.URL: CLOZAPINE AND (NO ANC W/IN 7 DAYS)
          RELATION EXPRESSION: CLOZAPINE AND (NO WBC W/IN 7 DAYS OR NO
                               ANC W/IN 7 DAYS)
    ...Correct data Filed
  
------------Extra multiple:----------------------------------------
         ORDER CHECK RULE: CLOZAPINE [57]
         RELATION ACTIONS: 4 [4]
         RELATION EXPRESSION: CLOZAPINE AND NO WBC W/IN 7 DAYS
         ORDER CHECK: CLOZAPINE APPROPRIATENESS
         ORDER CHECK MESSAGE: Clozapine orders require a CBC/Diff
         within past 7 days. Please order CBC/Diff with WBC and ANC
         immediately.  Most recent results - |CLOZ LAB RSLTS|
    ...Correct data Filed deleted...
 
    No data filing errors.
 
Transport Finished...
  
---Creating Order Check Routines-----------------------------------
 
Build list of Active Rules, Elements and Datafields...
 
     96 DATA FIELDS
     77 ELEMENTS
     39 RULES
 
Compile DataField Navigation code...
 
    101 DataField Navigation Code Arrays
 
Compile Element Evaluation code...
 
     71 Event Evaluation Code Arrays
 
Compile Element MetaCode...
 
     77 Element Metacode Arrays
 
Get Compiler Function Code...
 
     51 Compiler Include Functions
 
Compile Rule Element Relation code...
 
     55 Rule Element Relation Code Arrays
 
Construct Decision Tree...
 
    689 Sub-Routines
 
Optimize Sub-Routines...
 
    276 Sub-Routines
 
  60% Optimization
 
Assemble Routines...
 
     38 OCXOZ* Routines
 
 Updating Routine file...
 
 Updating KIDS files...
 
 OR*3.0*427 Installed. 
               Jan 30, 2017@12:57:38
 
 Call MENU rebuild
 
Starting Menu Rebuild:  Jan 30, 2017@12:57:40
 
Collecting primary menus in the New Person file...
 
     Primary menus found in the New Person file
     ------------------------------------------
 
OPTION NAME    MENU TEXT                  # OF          LAST      LAST
                                          USERS         USED      BUILT
--------------------------------------------------------------------------------
Menus will be listed
 
Building secondary menu trees....
 
Merging.... done.
 
Install Completed
 
Post-Installation Instructions
------------------------------
N/A


Routine Information:
====================


The second line of each of these routines now looks like:
 ;;7.0;OUTPATIENT PHARMACY;**[Patch List]**;DEC 1997;Build 60

The checksums below are new checksums, and
 can be checked with CHECK1^XTSUMBLD.

Routine Name: PSOCLO1
    Before: B28077371   After: B149257614  **1,23,37,222,457**
Routine Name: PSOCLUTL
    Before: B30326336   After: B88041536  **28,56,122,222,268,457**
Routine Name: PSODIR1
    Before: B95631218   After: B98465624  **23,46,78,102,121,131,146,166,
                                           184,222,268,206,266,340,391,
                                           444,457**
Routine Name: PSODIR2
    Before: B30158277   After: B32135372  **3,9,26,46,124,146,139,152,166,457**
Routine Name: PSODRG
    Before: B93820988   After: B92777437  **20,23,36,53,54,46,112,139,
                                           207,148,243,268,324,251,375,
                                           387,398,390,427,411,458,457**
Routine Name: PSON52
    Before: B91872301   After: B109475574  **1,16,23,27,32,46,71,111,124,
                                           117,131,139,157,143,219,148,
                                           239,201,268,260,225,303,358,
                                           251,387,379,390,391,313,408,
                                           473,457**
Routine Name: PSONEW
    Before: B33443923   After: B38956670  **11,27,32,46,94,130,268,225,
                                           251,379,390,417,313,411,457**
Routine Name: PSONEW1
    Before: B14209647   After: B21636420  **46,104,117,143,422,457**
Routine Name: PSOORED1
    Before: B64951982   After: B79193159  **5,23,46,78,114,117,131,146,
                                           223,148,244,249,268,206,313,
                                           444,422,457**
Routine Name: PSOORED5
    Before: B61813792   After: B68317198  **46,75,78,100,99,117,133,251,
                                           378,372,416,313,450,486,457**
Routine Name: PSOORNEW
    Before: B98142553   After: B98552577  **11,23,27,32,55,46,71,90,94,
                                           106,131,133,143,237,222,258,
                                           206,225,251,386,390,391,372,
                                           416,431,313,408,436,411,444,
                                           486,457**
Routine Name: PSORENW0
    Before: B84910963   After: B98709139  **11,27,32,59,64,46,71,96,100,
                                           130,237,206,251,375,379,372,
                                           411,457**
Routine Name: PSORENW4
    Before: B65687099   After: B75976559  **11,23,27,32,37,64,46,75,71,
                                           100,130,117,152,148,264,225,
                                           301,390,313,411,444,457**
 
Routine list of preceding patches: 408, 458, 486, 473, 422, 446


=============================================================================
User Information:  
  Entered By  :   WIPERT,RANDY T       Date Entered  :   JAN  6,2016
  Completed By:                        Date Completed:   
  Released By :                        Date Released :   
=============================================================================